package com.hsteach.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hsteach.dao.domain.myopia.MyopiaMission;
import com.hsteach.web.controller.myopia.dto.MissionListDTO;
import com.hsteach.web.controller.myopia.vo.MyopiaSchoolMissionVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 近视管理Mapper接口
 *
 * @author lx
 * @date 2023-07-07
 */
@Mapper
public interface MyopiaMissionMapper extends BaseMapper<MyopiaMission> {

    void delByIds(@Param("ids") List<Long> ids);

    /**
     * 学校查询任务
     * @param dto
     * @return
     */
    List<MyopiaSchoolMissionVO> schoolList(MissionListDTO dto);
}
